package com.lrs.java.j2se_self.io;

import java.io.*;
public class TestFileWriter2 {
	public static void main(String[] args){
		FileWriter fw = null;
		try{
			fw = new FileWriter("D:\\javawork6.0\\eclipse Project\\eclipse3.3\\src\\io\\TestFileWriter2.bat");
			for(int i=1;i<50000;i++){
				fw.write(i);
			}
			fw.close();
		}catch(IOException e){
			e.printStackTrace();
		}
		System.out.println("复制成功!");
	}
}
